package de.consileon.resisweb.client;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.event.shared.SimpleEventBus;
import com.google.gwt.place.shared.PlaceController;

import de.consileon.resisweb.client.panel.suchen.SuchenView;
import de.consileon.resisweb.client.panel.suchen.SuchenViewImpl;

public class ClientFactoryImpl implements ClientFactory
{
	private static final EventBus eventBus = new SimpleEventBus();
	private static final PlaceController placeController = new PlaceController(eventBus);
	private static final SuchenView suchenView = new SuchenViewImpl();
//	private static final GoodbyeView goodbyeView = new GoodbyeViewImpl();

	@Override
	public EventBus getEventBus()
	{
		return eventBus;
	}

	@Override
	public SuchenView getSuchenView()
	{
		return suchenView;
	}
//
	@Override
	public PlaceController getPlaceController()
	{
		return placeController;
	}
//
//	@Override
//	public GoodbyeView getGoodbyeView()
//	{
//		return goodbyeView;
//	}

}
